﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Models
{
    public class RegModel :Users
    {
       
        [Required(ErrorMessage = "Required field Password confirm")]
        [Display(Name="Password confirm")]
        [DataType(DataType.Password)]
        [Compare("Pwd", ErrorMessage = "Passwords do not match")]
        public string ConfirmPwd { get; set; }


    }
}